All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.MutableArray

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Array
                   |
                   +----com.apple.alpha.core.MutableArray

public class MutableArray
extends Array
This class wraps the Objective-C class NSMutableArray.


Variable Index

 o NotFound

Constructor Index

 o MutableArray()
This default constructor is equivalent to Objective-C's [[NSMutableArray alloc] init].
 o MutableArray(Array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.
 o MutableArray(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o MutableArray(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o MutableArray(Enumeration)
 o MutableArray(int)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.
 o MutableArray(Object[])
 o MutableArray(String)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.
 o MutableArray(Vector)

Method Index

 o addObject(Object)
A wrapper for the - addObject: Objective-C instance method.
 o addObjectsFromArray(Array)
A wrapper for the - addObjectsFromArray: Objective-C instance method.
 o arrayWithCapacity(int)
A wrapper for the + arrayWithCapacity: Objective-C class method.
 o insertObjectAtIndex(Object, int)
A wrapper for the - insertObject:atIndex: Objective-C instance method.
 o removeAllObjects()
A wrapper for the - removeAllObjects Objective-C instance method.
 o removeIdenticalObject(Object)
A wrapper for the - removeObjectIdenticalTo: Objective-C instance method.
 o removeIdenticalObjectInRange(Object, Range)
A wrapper for the - removeObjectIdenticalTo:inRange: Objective-C instance method.
 o removeLastObject()
A wrapper for the - removeLastObject Objective-C instance method.
 o removeObject(Object)
A wrapper for the - removeObject: Objective-C instance method.
 o removeObjectAtIndex(int)
A wrapper for the - removeObjectAtIndex: Objective-C instance method.
 o removeObjectInRange(Object, Range)
A wrapper for the - removeObject:inRange: Objective-C instance method.
 o removeObjectsInArray(Array)
A wrapper for the - removeObjectsInArray: Objective-C instance method.
 o removeObjectsInRange(Range)
A wrapper for the - removeObjectsInRange: Objective-C instance method.
 o replaceObjectAtIndex(int, Object)
A wrapper for the - replaceObjectAtIndex:withObject: Objective-C instance method.
 o replaceObjectsInRangeWithObjectsFromArray(Range, Array)
A wrapper for the - replaceObjectsInRange:withObjectsFromArray: Objective-C instance method.
 o replaceObjectsInRangeWithObjectsFromArrayAndRange(Range, Array, Range)
A wrapper for the - replaceObjectsInRange:withObjectsFromArray:range: Objective-C instance method.
 o setArray(Array)
A wrapper for the - setArray: Objective-C instance method.
 o sortUsingSelector(Selector)
A wrapper for the - sortUsingSelector: Objective-C instance method.

Variables

 o NotFound
 public static final int NotFound

Constructors

 o MutableArray
 public MutableArray(Object objects[])
 o MutableArray
 public MutableArray(Enumeration e)
 o MutableArray
 public MutableArray(Vector v)
 o MutableArray
 protected MutableArray(boolean shouldAllocate,
                        int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o MutableArray
 public MutableArray()
This default constructor is equivalent to Objective-C's [[NSMutableArray alloc] init].

 o MutableArray
 public MutableArray(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o MutableArray
 public MutableArray(Array array)
This constructor has the same effect as calling - initWithArray: on a newly allocated object.

 o MutableArray
 public MutableArray(String path)
This constructor has the same effect as calling - initWithContentsOfFile: on a newly allocated object.

 o MutableArray
 public MutableArray(int numItems)
This constructor has the same effect as calling - initWithCapacity: on a newly allocated object.

Methods

 o addObject
 public native void addObject(Object anObject)
A wrapper for the - addObject: Objective-C instance method.

 o insertObjectAtIndex
 public native void insertObjectAtIndex(Object anObject,
                                        int index)
A wrapper for the - insertObject:atIndex: Objective-C instance method.

 o removeLastObject
 public native void removeLastObject()
A wrapper for the - removeLastObject Objective-C instance method.

 o removeObjectAtIndex
 public native void removeObjectAtIndex(int index)
A wrapper for the - removeObjectAtIndex: Objective-C instance method.

 o replaceObjectAtIndex
 public native void replaceObjectAtIndex(int index,
                                         Object anObject)
A wrapper for the - replaceObjectAtIndex:withObject: Objective-C instance method.

 o addObjectsFromArray
 public native void addObjectsFromArray(Array otherArray)
A wrapper for the - addObjectsFromArray: Objective-C instance method.

 o removeAllObjects
 public native void removeAllObjects()
A wrapper for the - removeAllObjects Objective-C instance method.

 o removeObjectInRange
 public native void removeObjectInRange(Object anObject,
                                        Range range)
A wrapper for the - removeObject:inRange: Objective-C instance method.

 o removeObject
 public native void removeObject(Object anObject)
A wrapper for the - removeObject: Objective-C instance method.

 o removeIdenticalObjectInRange
 public native void removeIdenticalObjectInRange(Object anObject,
                                                 Range range)
A wrapper for the - removeObjectIdenticalTo:inRange: Objective-C instance method.

 o removeIdenticalObject
 public native void removeIdenticalObject(Object anObject)
A wrapper for the - removeObjectIdenticalTo: Objective-C instance method.

 o removeObjectsInArray
 public native void removeObjectsInArray(Array otherArray)
A wrapper for the - removeObjectsInArray: Objective-C instance method.

 o removeObjectsInRange
 public native void removeObjectsInRange(Range range)
A wrapper for the - removeObjectsInRange: Objective-C instance method.

 o replaceObjectsInRangeWithObjectsFromArrayAndRange
 public native void replaceObjectsInRangeWithObjectsFromArrayAndRange(Range range,
                                                                      Array otherArray,
                                                                      Range otherRange)
A wrapper for the - replaceObjectsInRange:withObjectsFromArray:range: Objective-C instance method.

 o replaceObjectsInRangeWithObjectsFromArray
 public native void replaceObjectsInRangeWithObjectsFromArray(Range range,
                                                              Array otherArray)
A wrapper for the - replaceObjectsInRange:withObjectsFromArray: Objective-C instance method.

 o setArray
 public native void setArray(Array otherArray)
A wrapper for the - setArray: Objective-C instance method.

 o sortUsingSelector
 public native void sortUsingSelector(Selector comparator)
A wrapper for the - sortUsingSelector: Objective-C instance method.

 o arrayWithCapacity
 public static native Object arrayWithCapacity(int numItems)
A wrapper for the + arrayWithCapacity: Objective-C class method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index